
$(document).ready(function(){
	
	$('#page1 #menu').mouseenter(function(){
		$('#page1 #menu').stop().animate({'margin-left':'-347px'},222);
		}).mouseleave(function(){
		$('#page1 #menu').stop().animate({'margin-left':'-275px'},222);			
	});
	
	
	
	$('#menu li').mouseenter(function(){
									  
		idx = $(this).attr('id');
		if (idx == 'active') {} else{
			
  		 text = $(this).find('strong');
  		 grida = $(this).find('a');
  		 gridspan = $(this).find('span');
  		 grida.find('strong').stop().show(); 
  		 gridspan.stop().animate({'top':'0'},200, function(){
      			 text.stop().animate({'top':'130'},200)});
   		 grida.stop().animate({'width':'253'},200);
		 
		}
         }).mouseleave(function(){
		if (idx == 'active') {} else{
   		 text.stop().hide();
   		 text.stop().animate({'top':'-150'},200)
  		 grida.stop().animate({'width':'109'},200);
  		 gridspan.stop().animate({'top':'109'},200);
		}
 	});
	
 });
				
	
 